package com.vframework.system.security.service;

import java.util.List;
import java.util.Map;

import com.vframework.base.exception.BaseException;
import com.vframework.base.service.BaseService;
import com.vframework.system.menu.model.MenuBean;
import com.vframework.system.role.model.RoleBean;
import com.vframework.system.user.model.UserBean;

public interface SecurityService extends BaseService {
	
    public UserBean queryLoginUserByAccount(String userName) throws BaseException;
    
    public List<RoleBean> queryRoleByUserId(String userId) throws BaseException;
    
    
    
    /*public UserBean login(Map<String, Object> paramMap) throws BaseException;*/
	
	public List<MenuBean> getMenuByUserId(String userId);
	
	public Integer countUserByAccount(String userName);
	
}
